package com.jy.rhin.model.body.xinshenger;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class YiBanWG {

    //新生儿面色代码
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.026.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_026_00))
    CodeObject xinShengEMS;

    //新生儿畸形标志
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE05.10.029.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_029_00))
    String xinShengEJXBZ;

    //新生儿畸形描述
    @XPath(model = "code", codePath = "/entry/observation/entryRelationship/observation/code[@code='DE02.10.025.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_025_00))
    String xinShengEJXMS;

}
